package com.aistar.mapper;

import com.aistar.model.entity.LabelType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ClassName: LableTypeMapper
 * @author: LiuWenXiu
 * @date: 2021/9/30 22:22
 * @Description: TODO...
 */
public interface LabelTypeMapper {

    // 获取所有大标签
    @Select("select * from label_type")
    List<LabelType> findAll();

    // 根据id获取大标签
    @Select("select * from label_type where id = #{id}")
    LabelType findById(Integer id);
}
